package com.aabte.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.FilterType;
import org.springframework.stereotype.Controller;

/**
 * 根容器配置类
 */

// 将@Controller注解排除，将Controller交给SpringMVC子容器来扫描
@ComponentScan(value = "com.aabte", excludeFilters = {
        @ComponentScan.Filter(type = FilterType.ANNOTATION, classes = {Controller.class})
})
public class RootConfig {
}
